package ylsb.model;

import java.util.ArrayList;
import java.util.List;

public class YltpYinjinExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public YltpYinjinExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andXiangmuidIsNull() {
            addCriterion("xiangmuid is null");
            return (Criteria) this;
        }

        public Criteria andXiangmuidIsNotNull() {
            addCriterion("xiangmuid is not null");
            return (Criteria) this;
        }

        public Criteria andXiangmuidEqualTo(String value) {
            addCriterion("xiangmuid =", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotEqualTo(String value) {
            addCriterion("xiangmuid <>", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidGreaterThan(String value) {
            addCriterion("xiangmuid >", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidGreaterThanOrEqualTo(String value) {
            addCriterion("xiangmuid >=", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidLessThan(String value) {
            addCriterion("xiangmuid <", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidLessThanOrEqualTo(String value) {
            addCriterion("xiangmuid <=", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidLike(String value) {
            addCriterion("xiangmuid like", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotLike(String value) {
            addCriterion("xiangmuid not like", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidIn(List<String> values) {
            addCriterion("xiangmuid in", values, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotIn(List<String> values) {
            addCriterion("xiangmuid not in", values, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidBetween(String value1, String value2) {
            addCriterion("xiangmuid between", value1, value2, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotBetween(String value1, String value2) {
            addCriterion("xiangmuid not between", value1, value2, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiIsNull() {
            addCriterion("shiyongkeshi is null");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiIsNotNull() {
            addCriterion("shiyongkeshi is not null");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiEqualTo(String value) {
            addCriterion("shiyongkeshi =", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiNotEqualTo(String value) {
            addCriterion("shiyongkeshi <>", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiGreaterThan(String value) {
            addCriterion("shiyongkeshi >", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiGreaterThanOrEqualTo(String value) {
            addCriterion("shiyongkeshi >=", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiLessThan(String value) {
            addCriterion("shiyongkeshi <", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiLessThanOrEqualTo(String value) {
            addCriterion("shiyongkeshi <=", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiLike(String value) {
            addCriterion("shiyongkeshi like", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiNotLike(String value) {
            addCriterion("shiyongkeshi not like", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiIn(List<String> values) {
            addCriterion("shiyongkeshi in", values, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiNotIn(List<String> values) {
            addCriterion("shiyongkeshi not in", values, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiBetween(String value1, String value2) {
            addCriterion("shiyongkeshi between", value1, value2, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiNotBetween(String value1, String value2) {
            addCriterion("shiyongkeshi not between", value1, value2, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengIsNull() {
            addCriterion("shebeimingcheng is null");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengIsNotNull() {
            addCriterion("shebeimingcheng is not null");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengEqualTo(String value) {
            addCriterion("shebeimingcheng =", value, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengNotEqualTo(String value) {
            addCriterion("shebeimingcheng <>", value, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengGreaterThan(String value) {
            addCriterion("shebeimingcheng >", value, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengGreaterThanOrEqualTo(String value) {
            addCriterion("shebeimingcheng >=", value, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengLessThan(String value) {
            addCriterion("shebeimingcheng <", value, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengLessThanOrEqualTo(String value) {
            addCriterion("shebeimingcheng <=", value, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengLike(String value) {
            addCriterion("shebeimingcheng like", value, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengNotLike(String value) {
            addCriterion("shebeimingcheng not like", value, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengIn(List<String> values) {
            addCriterion("shebeimingcheng in", values, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengNotIn(List<String> values) {
            addCriterion("shebeimingcheng not in", values, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengBetween(String value1, String value2) {
            addCriterion("shebeimingcheng between", value1, value2, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengNotBetween(String value1, String value2) {
            addCriterion("shebeimingcheng not between", value1, value2, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShuliangIsNull() {
            addCriterion("shuliang is null");
            return (Criteria) this;
        }

        public Criteria andShuliangIsNotNull() {
            addCriterion("shuliang is not null");
            return (Criteria) this;
        }

        public Criteria andShuliangEqualTo(String value) {
            addCriterion("shuliang =", value, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangNotEqualTo(String value) {
            addCriterion("shuliang <>", value, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangGreaterThan(String value) {
            addCriterion("shuliang >", value, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangGreaterThanOrEqualTo(String value) {
            addCriterion("shuliang >=", value, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangLessThan(String value) {
            addCriterion("shuliang <", value, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangLessThanOrEqualTo(String value) {
            addCriterion("shuliang <=", value, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangLike(String value) {
            addCriterion("shuliang like", value, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangNotLike(String value) {
            addCriterion("shuliang not like", value, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangIn(List<String> values) {
            addCriterion("shuliang in", values, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangNotIn(List<String> values) {
            addCriterion("shuliang not in", values, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangBetween(String value1, String value2) {
            addCriterion("shuliang between", value1, value2, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangNotBetween(String value1, String value2) {
            addCriterion("shuliang not between", value1, value2, "shuliang");
            return (Criteria) this;
        }

        public Criteria andDanjiaIsNull() {
            addCriterion("danjia is null");
            return (Criteria) this;
        }

        public Criteria andDanjiaIsNotNull() {
            addCriterion("danjia is not null");
            return (Criteria) this;
        }

        public Criteria andDanjiaEqualTo(String value) {
            addCriterion("danjia =", value, "danjia");
            return (Criteria) this;
        }

        public Criteria andDanjiaNotEqualTo(String value) {
            addCriterion("danjia <>", value, "danjia");
            return (Criteria) this;
        }

        public Criteria andDanjiaGreaterThan(String value) {
            addCriterion("danjia >", value, "danjia");
            return (Criteria) this;
        }

        public Criteria andDanjiaGreaterThanOrEqualTo(String value) {
            addCriterion("danjia >=", value, "danjia");
            return (Criteria) this;
        }

        public Criteria andDanjiaLessThan(String value) {
            addCriterion("danjia <", value, "danjia");
            return (Criteria) this;
        }

        public Criteria andDanjiaLessThanOrEqualTo(String value) {
            addCriterion("danjia <=", value, "danjia");
            return (Criteria) this;
        }

        public Criteria andDanjiaLike(String value) {
            addCriterion("danjia like", value, "danjia");
            return (Criteria) this;
        }

        public Criteria andDanjiaNotLike(String value) {
            addCriterion("danjia not like", value, "danjia");
            return (Criteria) this;
        }

        public Criteria andDanjiaIn(List<String> values) {
            addCriterion("danjia in", values, "danjia");
            return (Criteria) this;
        }

        public Criteria andDanjiaNotIn(List<String> values) {
            addCriterion("danjia not in", values, "danjia");
            return (Criteria) this;
        }

        public Criteria andDanjiaBetween(String value1, String value2) {
            addCriterion("danjia between", value1, value2, "danjia");
            return (Criteria) this;
        }

        public Criteria andDanjiaNotBetween(String value1, String value2) {
            addCriterion("danjia not between", value1, value2, "danjia");
            return (Criteria) this;
        }

        public Criteria andYusuanjineIsNull() {
            addCriterion("yusuanjine is null");
            return (Criteria) this;
        }

        public Criteria andYusuanjineIsNotNull() {
            addCriterion("yusuanjine is not null");
            return (Criteria) this;
        }

        public Criteria andYusuanjineEqualTo(String value) {
            addCriterion("yusuanjine =", value, "yusuanjine");
            return (Criteria) this;
        }

        public Criteria andYusuanjineNotEqualTo(String value) {
            addCriterion("yusuanjine <>", value, "yusuanjine");
            return (Criteria) this;
        }

        public Criteria andYusuanjineGreaterThan(String value) {
            addCriterion("yusuanjine >", value, "yusuanjine");
            return (Criteria) this;
        }

        public Criteria andYusuanjineGreaterThanOrEqualTo(String value) {
            addCriterion("yusuanjine >=", value, "yusuanjine");
            return (Criteria) this;
        }

        public Criteria andYusuanjineLessThan(String value) {
            addCriterion("yusuanjine <", value, "yusuanjine");
            return (Criteria) this;
        }

        public Criteria andYusuanjineLessThanOrEqualTo(String value) {
            addCriterion("yusuanjine <=", value, "yusuanjine");
            return (Criteria) this;
        }

        public Criteria andYusuanjineLike(String value) {
            addCriterion("yusuanjine like", value, "yusuanjine");
            return (Criteria) this;
        }

        public Criteria andYusuanjineNotLike(String value) {
            addCriterion("yusuanjine not like", value, "yusuanjine");
            return (Criteria) this;
        }

        public Criteria andYusuanjineIn(List<String> values) {
            addCriterion("yusuanjine in", values, "yusuanjine");
            return (Criteria) this;
        }

        public Criteria andYusuanjineNotIn(List<String> values) {
            addCriterion("yusuanjine not in", values, "yusuanjine");
            return (Criteria) this;
        }

        public Criteria andYusuanjineBetween(String value1, String value2) {
            addCriterion("yusuanjine between", value1, value2, "yusuanjine");
            return (Criteria) this;
        }

        public Criteria andYusuanjineNotBetween(String value1, String value2) {
            addCriterion("yusuanjine not between", value1, value2, "yusuanjine");
            return (Criteria) this;
        }

        public Criteria andShebeileixingIsNull() {
            addCriterion("shebeileixing is null");
            return (Criteria) this;
        }

        public Criteria andShebeileixingIsNotNull() {
            addCriterion("shebeileixing is not null");
            return (Criteria) this;
        }

        public Criteria andShebeileixingEqualTo(String value) {
            addCriterion("shebeileixing =", value, "shebeileixing");
            return (Criteria) this;
        }

        public Criteria andShebeileixingNotEqualTo(String value) {
            addCriterion("shebeileixing <>", value, "shebeileixing");
            return (Criteria) this;
        }

        public Criteria andShebeileixingGreaterThan(String value) {
            addCriterion("shebeileixing >", value, "shebeileixing");
            return (Criteria) this;
        }

        public Criteria andShebeileixingGreaterThanOrEqualTo(String value) {
            addCriterion("shebeileixing >=", value, "shebeileixing");
            return (Criteria) this;
        }

        public Criteria andShebeileixingLessThan(String value) {
            addCriterion("shebeileixing <", value, "shebeileixing");
            return (Criteria) this;
        }

        public Criteria andShebeileixingLessThanOrEqualTo(String value) {
            addCriterion("shebeileixing <=", value, "shebeileixing");
            return (Criteria) this;
        }

        public Criteria andShebeileixingLike(String value) {
            addCriterion("shebeileixing like", value, "shebeileixing");
            return (Criteria) this;
        }

        public Criteria andShebeileixingNotLike(String value) {
            addCriterion("shebeileixing not like", value, "shebeileixing");
            return (Criteria) this;
        }

        public Criteria andShebeileixingIn(List<String> values) {
            addCriterion("shebeileixing in", values, "shebeileixing");
            return (Criteria) this;
        }

        public Criteria andShebeileixingNotIn(List<String> values) {
            addCriterion("shebeileixing not in", values, "shebeileixing");
            return (Criteria) this;
        }

        public Criteria andShebeileixingBetween(String value1, String value2) {
            addCriterion("shebeileixing between", value1, value2, "shebeileixing");
            return (Criteria) this;
        }

        public Criteria andShebeileixingNotBetween(String value1, String value2) {
            addCriterion("shebeileixing not between", value1, value2, "shebeileixing");
            return (Criteria) this;
        }

        public Criteria andJingfeilaiyuanIsNull() {
            addCriterion("jingfeilaiyuan is null");
            return (Criteria) this;
        }

        public Criteria andJingfeilaiyuanIsNotNull() {
            addCriterion("jingfeilaiyuan is not null");
            return (Criteria) this;
        }

        public Criteria andJingfeilaiyuanEqualTo(String value) {
            addCriterion("jingfeilaiyuan =", value, "jingfeilaiyuan");
            return (Criteria) this;
        }

        public Criteria andJingfeilaiyuanNotEqualTo(String value) {
            addCriterion("jingfeilaiyuan <>", value, "jingfeilaiyuan");
            return (Criteria) this;
        }

        public Criteria andJingfeilaiyuanGreaterThan(String value) {
            addCriterion("jingfeilaiyuan >", value, "jingfeilaiyuan");
            return (Criteria) this;
        }

        public Criteria andJingfeilaiyuanGreaterThanOrEqualTo(String value) {
            addCriterion("jingfeilaiyuan >=", value, "jingfeilaiyuan");
            return (Criteria) this;
        }

        public Criteria andJingfeilaiyuanLessThan(String value) {
            addCriterion("jingfeilaiyuan <", value, "jingfeilaiyuan");
            return (Criteria) this;
        }

        public Criteria andJingfeilaiyuanLessThanOrEqualTo(String value) {
            addCriterion("jingfeilaiyuan <=", value, "jingfeilaiyuan");
            return (Criteria) this;
        }

        public Criteria andJingfeilaiyuanLike(String value) {
            addCriterion("jingfeilaiyuan like", value, "jingfeilaiyuan");
            return (Criteria) this;
        }

        public Criteria andJingfeilaiyuanNotLike(String value) {
            addCriterion("jingfeilaiyuan not like", value, "jingfeilaiyuan");
            return (Criteria) this;
        }

        public Criteria andJingfeilaiyuanIn(List<String> values) {
            addCriterion("jingfeilaiyuan in", values, "jingfeilaiyuan");
            return (Criteria) this;
        }

        public Criteria andJingfeilaiyuanNotIn(List<String> values) {
            addCriterion("jingfeilaiyuan not in", values, "jingfeilaiyuan");
            return (Criteria) this;
        }

        public Criteria andJingfeilaiyuanBetween(String value1, String value2) {
            addCriterion("jingfeilaiyuan between", value1, value2, "jingfeilaiyuan");
            return (Criteria) this;
        }

        public Criteria andJingfeilaiyuanNotBetween(String value1, String value2) {
            addCriterion("jingfeilaiyuan not between", value1, value2, "jingfeilaiyuan");
            return (Criteria) this;
        }

        public Criteria andOrdernumberIsNull() {
            addCriterion("ordernumber is null");
            return (Criteria) this;
        }

        public Criteria andOrdernumberIsNotNull() {
            addCriterion("ordernumber is not null");
            return (Criteria) this;
        }

        public Criteria andOrdernumberEqualTo(Integer value) {
            addCriterion("ordernumber =", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberNotEqualTo(Integer value) {
            addCriterion("ordernumber <>", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberGreaterThan(Integer value) {
            addCriterion("ordernumber >", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("ordernumber >=", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberLessThan(Integer value) {
            addCriterion("ordernumber <", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberLessThanOrEqualTo(Integer value) {
            addCriterion("ordernumber <=", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberIn(List<Integer> values) {
            addCriterion("ordernumber in", values, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberNotIn(List<Integer> values) {
            addCriterion("ordernumber not in", values, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberBetween(Integer value1, Integer value2) {
            addCriterion("ordernumber between", value1, value2, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberNotBetween(Integer value1, Integer value2) {
            addCriterion("ordernumber not between", value1, value2, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andTongyongmingchengIsNull() {
            addCriterion("tongyongmingcheng is null");
            return (Criteria) this;
        }

        public Criteria andTongyongmingchengIsNotNull() {
            addCriterion("tongyongmingcheng is not null");
            return (Criteria) this;
        }

        public Criteria andTongyongmingchengEqualTo(String value) {
            addCriterion("tongyongmingcheng =", value, "tongyongmingcheng");
            return (Criteria) this;
        }

        public Criteria andTongyongmingchengNotEqualTo(String value) {
            addCriterion("tongyongmingcheng <>", value, "tongyongmingcheng");
            return (Criteria) this;
        }

        public Criteria andTongyongmingchengGreaterThan(String value) {
            addCriterion("tongyongmingcheng >", value, "tongyongmingcheng");
            return (Criteria) this;
        }

        public Criteria andTongyongmingchengGreaterThanOrEqualTo(String value) {
            addCriterion("tongyongmingcheng >=", value, "tongyongmingcheng");
            return (Criteria) this;
        }

        public Criteria andTongyongmingchengLessThan(String value) {
            addCriterion("tongyongmingcheng <", value, "tongyongmingcheng");
            return (Criteria) this;
        }

        public Criteria andTongyongmingchengLessThanOrEqualTo(String value) {
            addCriterion("tongyongmingcheng <=", value, "tongyongmingcheng");
            return (Criteria) this;
        }

        public Criteria andTongyongmingchengLike(String value) {
            addCriterion("tongyongmingcheng like", value, "tongyongmingcheng");
            return (Criteria) this;
        }

        public Criteria andTongyongmingchengNotLike(String value) {
            addCriterion("tongyongmingcheng not like", value, "tongyongmingcheng");
            return (Criteria) this;
        }

        public Criteria andTongyongmingchengIn(List<String> values) {
            addCriterion("tongyongmingcheng in", values, "tongyongmingcheng");
            return (Criteria) this;
        }

        public Criteria andTongyongmingchengNotIn(List<String> values) {
            addCriterion("tongyongmingcheng not in", values, "tongyongmingcheng");
            return (Criteria) this;
        }

        public Criteria andTongyongmingchengBetween(String value1, String value2) {
            addCriterion("tongyongmingcheng between", value1, value2, "tongyongmingcheng");
            return (Criteria) this;
        }

        public Criteria andTongyongmingchengNotBetween(String value1, String value2) {
            addCriterion("tongyongmingcheng not between", value1, value2, "tongyongmingcheng");
            return (Criteria) this;
        }

        public Criteria andBeizhuIsNull() {
            addCriterion("beizhu is null");
            return (Criteria) this;
        }

        public Criteria andBeizhuIsNotNull() {
            addCriterion("beizhu is not null");
            return (Criteria) this;
        }

        public Criteria andBeizhuEqualTo(String value) {
            addCriterion("beizhu =", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuNotEqualTo(String value) {
            addCriterion("beizhu <>", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuGreaterThan(String value) {
            addCriterion("beizhu >", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuGreaterThanOrEqualTo(String value) {
            addCriterion("beizhu >=", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuLessThan(String value) {
            addCriterion("beizhu <", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuLessThanOrEqualTo(String value) {
            addCriterion("beizhu <=", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuLike(String value) {
            addCriterion("beizhu like", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuNotLike(String value) {
            addCriterion("beizhu not like", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuIn(List<String> values) {
            addCriterion("beizhu in", values, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuNotIn(List<String> values) {
            addCriterion("beizhu not in", values, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuBetween(String value1, String value2) {
            addCriterion("beizhu between", value1, value2, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuNotBetween(String value1, String value2) {
            addCriterion("beizhu not between", value1, value2, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhu1IsNull() {
            addCriterion("beizhu1 is null");
            return (Criteria) this;
        }

        public Criteria andBeizhu1IsNotNull() {
            addCriterion("beizhu1 is not null");
            return (Criteria) this;
        }

        public Criteria andBeizhu1EqualTo(String value) {
            addCriterion("beizhu1 =", value, "beizhu1");
            return (Criteria) this;
        }

        public Criteria andBeizhu1NotEqualTo(String value) {
            addCriterion("beizhu1 <>", value, "beizhu1");
            return (Criteria) this;
        }

        public Criteria andBeizhu1GreaterThan(String value) {
            addCriterion("beizhu1 >", value, "beizhu1");
            return (Criteria) this;
        }

        public Criteria andBeizhu1GreaterThanOrEqualTo(String value) {
            addCriterion("beizhu1 >=", value, "beizhu1");
            return (Criteria) this;
        }

        public Criteria andBeizhu1LessThan(String value) {
            addCriterion("beizhu1 <", value, "beizhu1");
            return (Criteria) this;
        }

        public Criteria andBeizhu1LessThanOrEqualTo(String value) {
            addCriterion("beizhu1 <=", value, "beizhu1");
            return (Criteria) this;
        }

        public Criteria andBeizhu1Like(String value) {
            addCriterion("beizhu1 like", value, "beizhu1");
            return (Criteria) this;
        }

        public Criteria andBeizhu1NotLike(String value) {
            addCriterion("beizhu1 not like", value, "beizhu1");
            return (Criteria) this;
        }

        public Criteria andBeizhu1In(List<String> values) {
            addCriterion("beizhu1 in", values, "beizhu1");
            return (Criteria) this;
        }

        public Criteria andBeizhu1NotIn(List<String> values) {
            addCriterion("beizhu1 not in", values, "beizhu1");
            return (Criteria) this;
        }

        public Criteria andBeizhu1Between(String value1, String value2) {
            addCriterion("beizhu1 between", value1, value2, "beizhu1");
            return (Criteria) this;
        }

        public Criteria andBeizhu1NotBetween(String value1, String value2) {
            addCriterion("beizhu1 not between", value1, value2, "beizhu1");
            return (Criteria) this;
        }

        public Criteria andBeizhu2IsNull() {
            addCriterion("beizhu2 is null");
            return (Criteria) this;
        }

        public Criteria andBeizhu2IsNotNull() {
            addCriterion("beizhu2 is not null");
            return (Criteria) this;
        }

        public Criteria andBeizhu2EqualTo(String value) {
            addCriterion("beizhu2 =", value, "beizhu2");
            return (Criteria) this;
        }

        public Criteria andBeizhu2NotEqualTo(String value) {
            addCriterion("beizhu2 <>", value, "beizhu2");
            return (Criteria) this;
        }

        public Criteria andBeizhu2GreaterThan(String value) {
            addCriterion("beizhu2 >", value, "beizhu2");
            return (Criteria) this;
        }

        public Criteria andBeizhu2GreaterThanOrEqualTo(String value) {
            addCriterion("beizhu2 >=", value, "beizhu2");
            return (Criteria) this;
        }

        public Criteria andBeizhu2LessThan(String value) {
            addCriterion("beizhu2 <", value, "beizhu2");
            return (Criteria) this;
        }

        public Criteria andBeizhu2LessThanOrEqualTo(String value) {
            addCriterion("beizhu2 <=", value, "beizhu2");
            return (Criteria) this;
        }

        public Criteria andBeizhu2Like(String value) {
            addCriterion("beizhu2 like", value, "beizhu2");
            return (Criteria) this;
        }

        public Criteria andBeizhu2NotLike(String value) {
            addCriterion("beizhu2 not like", value, "beizhu2");
            return (Criteria) this;
        }

        public Criteria andBeizhu2In(List<String> values) {
            addCriterion("beizhu2 in", values, "beizhu2");
            return (Criteria) this;
        }

        public Criteria andBeizhu2NotIn(List<String> values) {
            addCriterion("beizhu2 not in", values, "beizhu2");
            return (Criteria) this;
        }

        public Criteria andBeizhu2Between(String value1, String value2) {
            addCriterion("beizhu2 between", value1, value2, "beizhu2");
            return (Criteria) this;
        }

        public Criteria andBeizhu2NotBetween(String value1, String value2) {
            addCriterion("beizhu2 not between", value1, value2, "beizhu2");
            return (Criteria) this;
        }

        public Criteria andBeizhu3IsNull() {
            addCriterion("beizhu3 is null");
            return (Criteria) this;
        }

        public Criteria andBeizhu3IsNotNull() {
            addCriterion("beizhu3 is not null");
            return (Criteria) this;
        }

        public Criteria andBeizhu3EqualTo(String value) {
            addCriterion("beizhu3 =", value, "beizhu3");
            return (Criteria) this;
        }

        public Criteria andBeizhu3NotEqualTo(String value) {
            addCriterion("beizhu3 <>", value, "beizhu3");
            return (Criteria) this;
        }

        public Criteria andBeizhu3GreaterThan(String value) {
            addCriterion("beizhu3 >", value, "beizhu3");
            return (Criteria) this;
        }

        public Criteria andBeizhu3GreaterThanOrEqualTo(String value) {
            addCriterion("beizhu3 >=", value, "beizhu3");
            return (Criteria) this;
        }

        public Criteria andBeizhu3LessThan(String value) {
            addCriterion("beizhu3 <", value, "beizhu3");
            return (Criteria) this;
        }

        public Criteria andBeizhu3LessThanOrEqualTo(String value) {
            addCriterion("beizhu3 <=", value, "beizhu3");
            return (Criteria) this;
        }

        public Criteria andBeizhu3Like(String value) {
            addCriterion("beizhu3 like", value, "beizhu3");
            return (Criteria) this;
        }

        public Criteria andBeizhu3NotLike(String value) {
            addCriterion("beizhu3 not like", value, "beizhu3");
            return (Criteria) this;
        }

        public Criteria andBeizhu3In(List<String> values) {
            addCriterion("beizhu3 in", values, "beizhu3");
            return (Criteria) this;
        }

        public Criteria andBeizhu3NotIn(List<String> values) {
            addCriterion("beizhu3 not in", values, "beizhu3");
            return (Criteria) this;
        }

        public Criteria andBeizhu3Between(String value1, String value2) {
            addCriterion("beizhu3 between", value1, value2, "beizhu3");
            return (Criteria) this;
        }

        public Criteria andBeizhu3NotBetween(String value1, String value2) {
            addCriterion("beizhu3 not between", value1, value2, "beizhu3");
            return (Criteria) this;
        }

        public Criteria andBeizhu4IsNull() {
            addCriterion("beizhu4 is null");
            return (Criteria) this;
        }

        public Criteria andBeizhu4IsNotNull() {
            addCriterion("beizhu4 is not null");
            return (Criteria) this;
        }

        public Criteria andBeizhu4EqualTo(String value) {
            addCriterion("beizhu4 =", value, "beizhu4");
            return (Criteria) this;
        }

        public Criteria andBeizhu4NotEqualTo(String value) {
            addCriterion("beizhu4 <>", value, "beizhu4");
            return (Criteria) this;
        }

        public Criteria andBeizhu4GreaterThan(String value) {
            addCriterion("beizhu4 >", value, "beizhu4");
            return (Criteria) this;
        }

        public Criteria andBeizhu4GreaterThanOrEqualTo(String value) {
            addCriterion("beizhu4 >=", value, "beizhu4");
            return (Criteria) this;
        }

        public Criteria andBeizhu4LessThan(String value) {
            addCriterion("beizhu4 <", value, "beizhu4");
            return (Criteria) this;
        }

        public Criteria andBeizhu4LessThanOrEqualTo(String value) {
            addCriterion("beizhu4 <=", value, "beizhu4");
            return (Criteria) this;
        }

        public Criteria andBeizhu4Like(String value) {
            addCriterion("beizhu4 like", value, "beizhu4");
            return (Criteria) this;
        }

        public Criteria andBeizhu4NotLike(String value) {
            addCriterion("beizhu4 not like", value, "beizhu4");
            return (Criteria) this;
        }

        public Criteria andBeizhu4In(List<String> values) {
            addCriterion("beizhu4 in", values, "beizhu4");
            return (Criteria) this;
        }

        public Criteria andBeizhu4NotIn(List<String> values) {
            addCriterion("beizhu4 not in", values, "beizhu4");
            return (Criteria) this;
        }

        public Criteria andBeizhu4Between(String value1, String value2) {
            addCriterion("beizhu4 between", value1, value2, "beizhu4");
            return (Criteria) this;
        }

        public Criteria andBeizhu4NotBetween(String value1, String value2) {
            addCriterion("beizhu4 not between", value1, value2, "beizhu4");
            return (Criteria) this;
        }

        public Criteria andBeizhu5IsNull() {
            addCriterion("beizhu5 is null");
            return (Criteria) this;
        }

        public Criteria andBeizhu5IsNotNull() {
            addCriterion("beizhu5 is not null");
            return (Criteria) this;
        }

        public Criteria andBeizhu5EqualTo(String value) {
            addCriterion("beizhu5 =", value, "beizhu5");
            return (Criteria) this;
        }

        public Criteria andBeizhu5NotEqualTo(String value) {
            addCriterion("beizhu5 <>", value, "beizhu5");
            return (Criteria) this;
        }

        public Criteria andBeizhu5GreaterThan(String value) {
            addCriterion("beizhu5 >", value, "beizhu5");
            return (Criteria) this;
        }

        public Criteria andBeizhu5GreaterThanOrEqualTo(String value) {
            addCriterion("beizhu5 >=", value, "beizhu5");
            return (Criteria) this;
        }

        public Criteria andBeizhu5LessThan(String value) {
            addCriterion("beizhu5 <", value, "beizhu5");
            return (Criteria) this;
        }

        public Criteria andBeizhu5LessThanOrEqualTo(String value) {
            addCriterion("beizhu5 <=", value, "beizhu5");
            return (Criteria) this;
        }

        public Criteria andBeizhu5Like(String value) {
            addCriterion("beizhu5 like", value, "beizhu5");
            return (Criteria) this;
        }

        public Criteria andBeizhu5NotLike(String value) {
            addCriterion("beizhu5 not like", value, "beizhu5");
            return (Criteria) this;
        }

        public Criteria andBeizhu5In(List<String> values) {
            addCriterion("beizhu5 in", values, "beizhu5");
            return (Criteria) this;
        }

        public Criteria andBeizhu5NotIn(List<String> values) {
            addCriterion("beizhu5 not in", values, "beizhu5");
            return (Criteria) this;
        }

        public Criteria andBeizhu5Between(String value1, String value2) {
            addCriterion("beizhu5 between", value1, value2, "beizhu5");
            return (Criteria) this;
        }

        public Criteria andBeizhu5NotBetween(String value1, String value2) {
            addCriterion("beizhu5 not between", value1, value2, "beizhu5");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}